<template>
  <div class="fuyunmu5 base-background-img">
    <div class="un" @click="playFun(un)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/5/un.png">
    </div>
    <div class="un2" @click="playFun(un2)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/5/un2.png">
    </div>
    <c-pdf @closePdf="closePdf" v-if="isshowpdf" :info="info" :infourl="pdfurl"></c-pdf>
  </div>
</template>

<script>
  export default {
    name: 'fuyunmu5',
    data () {
      return {
        isshowpdf: false,
        infourl: '',
        info: '',
        un: {
          url: 'static/youxiao/pdf/fuyunmu/un.pdf',
          data: []
        },
        un2: {
          url: 'static/youxiao/pdf/fuyunmu/uun.pdf',
          data: []
        }
      }
    },
    methods: {
      playFun: function (item) {
        console.log(item)
        this.isshowpdf = true
        this.pdfurl = item.url
        this.info = item.data
      },
      closePdf: function () {
        this.isshowpdf = false
      }
    }
  }
</script>

<style scoped>
.fuyunmu5 {
  background: url(~@/assets/youxiaoxianjie/fuyunmu/5/bg.png);
}
.fuyunmu5 > div {
  position: absolute; 
}
.un {
  top: 310px;
  left: 350px;
}
.un2 {
  top: 270px;
  left: 690px;
}
</style>
